package org.laobai.shop.goods.entity;

import java.io.Serializable;

public class Spu implements Serializable {
	private static final long serialVersionUID = -1163659101291373544L;
	private Integer id;// 主键id
	private String goodsName;// 商品名称
	private int isMarketable;// 是否上架
	private String caption;// 标题
	private String categoryId;// 分类的id
	private int brandId;// 品牌的主键id
	private String smallPic;// 小图

	private String category;// 分类
	private String brand;// 品牌

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public int getIsMarketable() {
		return isMarketable;
	}

	public void setIsMarketable(int isMarketable) {
		this.isMarketable = isMarketable;
	}

	public String getCaption() {
		return caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public int getBrandId() {
		return brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public String getSmallPic() {
		return smallPic;
	}

	public void setSmallPic(String smallPic) {
		this.smallPic = smallPic;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Override
	public String toString() {
		return "Spu [id=" + id + ", goodsName=" + goodsName + ", isMarketable=" + isMarketable + ", caption=" + caption
				+ ", categoryId=" + categoryId + ", brandId=" + brandId + ", smallPic=" + smallPic + ", category="
				+ category + ", brand=" + brand + "]";
	}

	// getter setter

}